<%= div_tag 'div_qeedql_', question %>
  <%= div_tag 'div_qshql_', question %>
    <%# render question.current_version %>

    <div class="question-list-item">
      <div class="question-list-item-title">
        <div class="left">
          <h4><%= question.current_version.question_type.name %></h4>
        </div>
      </div>
      <div class="question-list-item-content">
        <%= render question.current_version %>
      </div>
      <div class="question-list-item-meta">
        <div class="right">
          <ul class="inline-list">
            <li>
              <%= js_tag '修改', {
                hide: "div_qshql_#{question.id}", show: "form_qed_#{question.id}"
              } %>
            </li>
            <li>
              <%= link_to '删除', question, method: :delete, data: { confirm: '确认删除？' } %>
            </li>
          </ul>
        </div>
        <div class="clear"></div>
      </div>
    </div>

    <p>
    </p>
  </div>
  <%= render partial: 'questions/form', locals: { question: question } %>
  <%= js_script({ hide: "form_qed_#{question.id}" }) %>
</div>
